package com.zxd.service;

import com.zxd.entity.Group;
import com.zxd.entity.vo.BaseVo;
import com.zxd.entity.vo.TreeVo;
import com.zxd.service.common.ICommonService;

import java.util.List;

/**
 * GroupService
 * Created by 涂奕恒 on 2019/5/6 0006 下午 12:00.
 */
public interface GroupService extends ICommonService<Group> {

    // 根据父级ID获取子列表
    List<TreeVo> groupList();

    // 保存分组信息
    Integer saveGroup(Integer id, String name, Integer parentId);

    BaseVo getGroup(Integer groupId);
}